Optimal. Leaf size=46 \[ \frac{\sec (e+f x) \sqrt{a \sin (e+f x)+a} \sqrt{c-c \sin (e+f x)} \log (\sin (e+f x))}{f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.170772, antiderivative size = 46, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 36, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.056, Rules used = {2948, 3475} \[ \frac{\sec (e+f x) \sqrt{a \sin (e+f x)+a} \sqrt{c-c \sin (e+f x)} \log (\sin (e+f x))}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2948
Rule 3475
Rubi steps
\begin{align*} \int \csc (e+f x) \sqrt{a+a \sin (e+f x)} \sqrt{c-c \sin (e+f x)} \, dx &=\left (\sec (e+f x) \sqrt{a+a \sin (e+f x)} \sqrt{c-c \sin (e+f x)}\right ) \int \cot (e+f x) \, dx\\ &=\frac{\log (\sin (e+f x)) \sec (e+f x) \sqrt{a+a \sin (e+f x)} \sqrt{c-c \sin (e+f x)}}{f}\\ \end{align*}
Mathematica [A] time = 0.108767, size = 62, normalized size = 1.35 \[ \frac{\sec (e+f x) \sqrt{a (\sin (e+f x)+1)} \sqrt{c-c \sin (e+f x)} \left (\log \left (\sin \left (\frac{1}{2} (e+f x)\right )\right )+\log \left (\cos \left (\frac{1}{2} (e+f x)\right )\right )\right )}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.339, size = 73, normalized size = 1.6 \begin{align*}{\frac{1}{f\cos \left ( fx+e \right ) } \left ( -\ln \left ( 2\, \left ( \cos \left ( fx+e \right ) +1 \right ) ^{-1} \right ) +\ln \left ( -{\frac{-1+\cos \left ( fx+e \right ) }{\sin \left ( fx+e \right ) }} \right ) \right ) \sqrt{a \left ( 1+\sin \left ( fx+e \right ) \right ) }\sqrt{-c \left ( -1+\sin \left ( fx+e \right ) \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{a \sin \left (f x + e\right ) + a} \sqrt{-c \sin \left (f x + e\right ) + c}}{\sin \left (f x + e\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 3.69213, size = 539, normalized size = 11.72 \begin{align*} \left [\frac{\sqrt{a c} \log \left (\frac{4 \,{\left (256 \, a c \cos \left (f x + e\right )^{5} - 512 \, a c \cos \left (f x + e\right )^{3} + 337 \, a c \cos \left (f x + e\right ) +{\left (256 \, \cos \left (f x + e\right )^{4} - 512 \, \cos \left (f x + e\right )^{2} + 175\right )} \sqrt{a c} \sqrt{a \sin \left (f x + e\right ) + a} \sqrt{-c \sin \left (f x + e\right ) + c}\right )}}{\cos \left (f x + e\right )^{3} - \cos \left (f x + e\right )}\right )}{2 \, f}, -\frac{\sqrt{-a c} \arctan \left (\frac{\sqrt{-a c}{\left (16 \, \cos \left (f x + e\right )^{2} - 7\right )} \sqrt{a \sin \left (f x + e\right ) + a} \sqrt{-c \sin \left (f x + e\right ) + c}}{16 \, a c \cos \left (f x + e\right )^{3} - 25 \, a c \cos \left (f x + e\right )}\right )}{f}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{a \left (\sin{\left (e + f x \right )} + 1\right )} \sqrt{- c \left (\sin{\left (e + f x \right )} - 1\right )}}{\sin{\left (e + f x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]